package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Flight;
import cn.wolfcode.luowowo.article.query.AirTicketQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IFlightService {
    /**
     * 分页查询所有航班信息
     * @param qo
     * @return
     */
    PageInfo query(AirTicketQuery qo);

    /**
     * 查询单个航班
     * @param id
     * @return
     */
    Flight get(Long id);

    /**
     * 查询机场,机型,航空公司
     * @param qo
     * @return
     */
    List<Flight> querySome(AirTicketQuery qo);
}
